.class public Lcom/nemustech/regina/PanelTrashMessage;
.super Ljava/lang/Object;
.source "PanelTrashMessage.java"


# static fields
.field private static final DEFAULT_PANEL_HEIGHT:F = 0.3f

.field private static final DEFAULT_PANEL_WIDTH:F = 1.0f

.field private static final TAG:Ljava/lang/String; = "PanelTrashMessage"

.field public static final TRASH_MSG_CODE_DELETE:I = 0x1

.field public static final TRASH_MSG_CODE_LEFT_APP:I = 0x3

.field public static final TRASH_MSG_CODE_NONE:I = 0x0

.field public static final TRASH_MSG_CODE_RIGHT_APP:I = 0x4

.field public static final TRASH_MSG_CODE_UNINSTALL:I = 0x2

.field private static final TRASH_MSG_DEST_POS_X:F = 0.0f

.field private static final TRASH_MSG_DEST_POS_Y:F = 0.1f

.field private static final TRASH_MSG_DEST_POS_Z:F = 0.0f

.field private static final TRASH_MSG_FADE_IN_TIME:J = 0x78L

.field private static final TRASH_MSG_FADE_OUT_TIME:J = 0x64L

.field private static final TRASH_MSG_INIT_POS_X:F = 0.0f

.field private static final TRASH_MSG_INIT_POS_Y:F = 0.0f

.field private static final TRASH_MSG_INIT_POS_Z:F = 2.0f

.field private static final TRASH_MSG_PANEL_REMOVE_ANI_STATE_OFF:I = 0x0

.field private static final TRASH_MSG_PANEL_REMOVE_ANI_STATE_ON:I = 0x1

.field private static final TRASH_MSG_SPIN_SPEED:F = 10.0f


# instance fields
.field private mContext:Landroid/content/Context;

.field private mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mDeleteMsgPanelState:I

.field private mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mLeftAppMsgPanelState:I

.field private mMsgPanelDeleteJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

.field private mMsgPanelLeftAppJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

.field private mMsgPanelRgithAppJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

.field private mMsgPanelUninstallJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

.field private mRes:Lcom/nemustech/regina/ResourceCare;

.field private mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mRightAppMsgPanelState:I

.field private mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mUninstallMsgPanelState:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 5
    .parameter "context"

    .prologue
    const/4 v4, 0x0

    const/high16 v3, 0x3f80

    const v2, 0x3e99999a

    .line 84
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 56
    new-instance v0, Lcom/nemustech/regina/PanelTrashMessage$1;

    invoke-direct {v0, p0}, Lcom/nemustech/regina/PanelTrashMessage$1;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelUninstallJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    .line 63
    new-instance v0, Lcom/nemustech/regina/PanelTrashMessage$2;

    invoke-direct {v0, p0}, Lcom/nemustech/regina/PanelTrashMessage$2;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelDeleteJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    .line 70
    new-instance v0, Lcom/nemustech/regina/PanelTrashMessage$3;

    invoke-direct {v0, p0}, Lcom/nemustech/regina/PanelTrashMessage$3;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelLeftAppJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    .line 77
    new-instance v0, Lcom/nemustech/regina/PanelTrashMessage$4;

    invoke-direct {v0, p0}, Lcom/nemustech/regina/PanelTrashMessage$4;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelRgithAppJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    .line 85
    iput-object p1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    .line 86
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ResourceCare;->getResourceCare(Landroid/content/Context;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    .line 89
    new-instance v0, Lcom/nemustech/tiffany/world/TFPanel;

    invoke-direct {v0, v3, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 90
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelUninstallJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setJitImageProvider(Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;)V

    .line 91
    iput v4, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanelState:I

    .line 94
    new-instance v0, Lcom/nemustech/tiffany/world/TFPanel;

    invoke-direct {v0, v3, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 95
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelDeleteJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setJitImageProvider(Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;)V

    .line 96
    iput v4, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanelState:I

    .line 99
    new-instance v0, Lcom/nemustech/tiffany/world/TFPanel;

    invoke-direct {v0, v3, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 100
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelLeftAppJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setJitImageProvider(Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;)V

    .line 101
    iput v4, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanelState:I

    .line 104
    new-instance v0, Lcom/nemustech/tiffany/world/TFPanel;

    invoke-direct {v0, v3, v2}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(FF)V

    iput-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 105
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mMsgPanelRgithAppJit:Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setJitImageProvider(Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;)V

    .line 106
    iput v4, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanelState:I

    .line 107
    return-void
.end method

.method static synthetic access$000(Lcom/nemustech/regina/PanelTrashMessage;I)Landroid/graphics/Bitmap;
    .locals 1
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 17
    invoke-direct {p0, p1}, Lcom/nemustech/regina/PanelTrashMessage;->makeMsgBitmap(I)Landroid/graphics/Bitmap;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$100(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 17
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method static synthetic access$200(Lcom/nemustech/regina/PanelTrashMessage;)Landroid/content/Context;
    .locals 1
    .parameter "x0"

    .prologue
    .line 17
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$302(Lcom/nemustech/regina/PanelTrashMessage;I)I
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 17
    iput p1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanelState:I

    return p1
.end method

.method static synthetic access$400(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 17
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method static synthetic access$502(Lcom/nemustech/regina/PanelTrashMessage;I)I
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 17
    iput p1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanelState:I

    return p1
.end method

.method static synthetic access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 17
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method static synthetic access$702(Lcom/nemustech/regina/PanelTrashMessage;I)I
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 17
    iput p1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanelState:I

    return p1
.end method

.method static synthetic access$800(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 17
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method static synthetic access$902(Lcom/nemustech/regina/PanelTrashMessage;I)I
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 17
    iput p1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanelState:I

    return p1
.end method

.method private makeMsgBitmap(I)Landroid/graphics/Bitmap;
    .locals 9
    .parameter "msgType"

    .prologue
    .line 187
    packed-switch p1, :pswitch_data_0

    .line 209
    const/4 v7, 0x0

    .line 226
    :goto_0
    return-object v7

    .line 189
    :pswitch_0
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f070057

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 190
    .local v6, text:Ljava/lang/String;
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f06005e

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getDimensionF(I)F

    move-result v4

    .line 212
    .local v4, fontSize:F
    :goto_1
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    invoke-static {v7}, Lcom/nemustech/regina/RUtils;->getScreenWidthAvailable(Landroid/content/Context;)I

    move-result v1

    .line 213
    .local v1, bitmapWidth:I
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    invoke-static {v7}, Lcom/nemustech/regina/RUtils;->getScreenHeightAvailable(Landroid/content/Context;)I

    move-result v7

    div-int/lit8 v0, v7, 0x5

    .line 215
    .local v0, bitmapHeight:I
    new-instance v5, Landroid/graphics/Paint;

    invoke-direct {v5}, Landroid/graphics/Paint;-><init>()V

    .line 216
    .local v5, paint:Landroid/graphics/Paint;
    const/4 v7, -0x1

    invoke-virtual {v5, v7}, Landroid/graphics/Paint;->setColor(I)V

    .line 217
    sget-object v7, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v5, v7}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 218
    const/4 v7, 0x1

    invoke-virtual {v5, v7}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 219
    sget-object v7, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    invoke-virtual {v5, v7}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    .line 220
    sget-object v7, Landroid/graphics/Typeface;->SANS_SERIF:Landroid/graphics/Typeface;

    invoke-virtual {v5, v7}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;

    .line 221
    invoke-virtual {v5, v4}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 223
    sget-object v7, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-static {v1, v0, v7}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v2

    .line 224
    .local v2, bmpTarget:Landroid/graphics/Bitmap;
    new-instance v3, Landroid/graphics/Canvas;

    invoke-direct {v3, v2}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    .line 225
    .local v3, canvas:Landroid/graphics/Canvas;
    div-int/lit8 v7, v1, 0x2

    int-to-float v7, v7

    mul-int/lit8 v8, v0, 0x2

    div-int/lit8 v8, v8, 0x3

    int-to-float v8, v8

    invoke-virtual {v3, v6, v7, v8, v5}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    move-object v7, v2

    .line 226
    goto :goto_0

    .line 194
    .end local v0           #bitmapHeight:I
    .end local v1           #bitmapWidth:I
    .end local v2           #bmpTarget:Landroid/graphics/Bitmap;
    .end local v3           #canvas:Landroid/graphics/Canvas;
    .end local v4           #fontSize:F
    .end local v5           #paint:Landroid/graphics/Paint;
    .end local v6           #text:Ljava/lang/String;
    :pswitch_1
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f070058

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 195
    .restart local v6       #text:Ljava/lang/String;
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f06005d

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getDimensionF(I)F

    move-result v4

    .line 196
    .restart local v4       #fontSize:F
    goto :goto_1

    .line 199
    .end local v4           #fontSize:F
    .end local v6           #text:Ljava/lang/String;
    :pswitch_2
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f070059

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 200
    .restart local v6       #text:Ljava/lang/String;
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f06005f

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getDimensionF(I)F

    move-result v4

    .line 201
    .restart local v4       #fontSize:F
    goto :goto_1

    .line 204
    .end local v4           #fontSize:F
    .end local v6           #text:Ljava/lang/String;
    :pswitch_3
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f07005a

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 205
    .restart local v6       #text:Ljava/lang/String;
    iget-object v7, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRes:Lcom/nemustech/regina/ResourceCare;

    const v8, 0x7f060060

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/ResourceCare;->getDimensionF(I)F

    move-result v4

    .line 206
    .restart local v4       #fontSize:F
    goto :goto_1

    .line 187
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method


# virtual methods
.method public removeAllTrashMsg()V
    .locals 1

    .prologue
    .line 269
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 270
    const/4 v0, 0x2

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 271
    const/4 v0, 0x3

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 272
    const/4 v0, 0x4

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 273
    return-void
.end method

.method public removeOthersTrashMsg(I)V
    .locals 4
    .parameter "exceptMsg"

    .prologue
    const/4 v3, 0x4

    const/4 v2, 0x3

    const/4 v1, 0x2

    const/4 v0, 0x1

    .line 262
    if-eq p1, v0, :cond_0

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 263
    :cond_0
    if-eq p1, v1, :cond_1

    invoke-virtual {p0, v1}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 264
    :cond_1
    if-eq p1, v2, :cond_2

    invoke-virtual {p0, v2}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 265
    :cond_2
    if-eq p1, v3, :cond_3

    invoke-virtual {p0, v3}, Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V

    .line 266
    :cond_3
    return-void
.end method

.method public removeTrashMsg(I)V
    .locals 6
    .parameter "msgType"

    .prologue
    const/4 v2, 0x1

    const/high16 v3, 0x4000

    const-wide/16 v4, 0x64

    const/4 v1, 0x0

    .line 276
    packed-switch p1, :pswitch_data_0

    .line 374
    :cond_0
    :goto_0
    return-void

    .line 278
    :pswitch_0
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanelState:I

    if-nez v0, :cond_0

    .line 279
    iput v2, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanelState:I

    .line 280
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v2, Lcom/nemustech/regina/PanelTrashMessage$5;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/PanelTrashMessage$5;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 297
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v2, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 298
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto :goto_0

    .line 303
    :pswitch_1
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanelState:I

    if-nez v0, :cond_0

    .line 304
    iput v2, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanelState:I

    .line 305
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v2, Lcom/nemustech/regina/PanelTrashMessage$6;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/PanelTrashMessage$6;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 321
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v2, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 322
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto :goto_0

    .line 327
    :pswitch_2
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanelState:I

    if-nez v0, :cond_0

    .line 328
    iput v2, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanelState:I

    .line 329
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v2, Lcom/nemustech/regina/PanelTrashMessage$7;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/PanelTrashMessage$7;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 345
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v2, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 346
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto :goto_0

    .line 351
    :pswitch_3
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanelState:I

    if-nez v0, :cond_0

    .line 352
    iput v2, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanelState:I

    .line 353
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v2, Lcom/nemustech/regina/PanelTrashMessage$8;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/PanelTrashMessage$8;-><init>(Lcom/nemustech/regina/PanelTrashMessage;)V

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 369
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v2, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 370
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto/16 :goto_0

    .line 276
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public resetAllTrashMsg()V
    .locals 1

    .prologue
    .line 230
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->resetTrashMsg(I)V

    .line 231
    const/4 v0, 0x2

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->resetTrashMsg(I)V

    .line 232
    const/4 v0, 0x3

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->resetTrashMsg(I)V

    .line 233
    const/4 v0, 0x4

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->resetTrashMsg(I)V

    .line 234
    return-void
.end method

.method public resetTrashMsg(I)V
    .locals 4
    .parameter "msgType"

    .prologue
    const/4 v3, 0x0

    const/4 v2, 0x2

    .line 237
    packed-switch p1, :pswitch_data_0

    .line 259
    :goto_0
    return-void

    .line 239
    :pswitch_0
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 240
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->freeze(I)V

    .line 241
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    goto :goto_0

    .line 244
    :pswitch_1
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 245
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->freeze(I)V

    .line 246
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    goto :goto_0

    .line 249
    :pswitch_2
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 250
    :cond_2
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->freeze(I)V

    .line 251
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    goto :goto_0

    .line 254
    :pswitch_3
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v1, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 255
    :cond_3
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->freeze(I)V

    .line 256
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    goto :goto_0

    .line 237
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public showTrashMsg(I)V
    .locals 11
    .parameter "msgType"

    .prologue
    const v2, 0x3dcccccd

    const/4 v10, 0x1

    const-wide/16 v4, 0x78

    const/4 v3, 0x0

    const/4 v1, 0x0

    .line 110
    packed-switch p1, :pswitch_data_0

    .line 182
    :cond_0
    :goto_0
    return-void

    .line 112
    :pswitch_0
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-nez v0, :cond_0

    .line 113
    iput v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanelState:I

    .line 114
    const/4 v0, 0x2

    invoke-direct {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->makeMsgBitmap(I)Landroid/graphics/Bitmap;

    move-result-object v9

    .line 115
    .local v9, uninstallBitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v9}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 116
    invoke-virtual {v9}, Landroid/graphics/Bitmap;->recycle()V

    .line 119
    :cond_1
    iget-object v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 120
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOpacity(F)V

    .line 121
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4120

    invoke-virtual {v0, v3, v1, v1, v10}, Lcom/nemustech/tiffany/world/TFPanel;->spin(FFFZ)V

    .line 122
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4000

    invoke-virtual {v0, v1, v1, v3}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 123
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v3, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 124
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mUninstallMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v1, 0x3f80

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto :goto_0

    .line 129
    .end local v9           #uninstallBitmap:Landroid/graphics/Bitmap;
    :pswitch_1
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-nez v0, :cond_0

    .line 130
    iput v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanelState:I

    .line 131
    invoke-direct {p0, v10}, Lcom/nemustech/regina/PanelTrashMessage;->makeMsgBitmap(I)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 132
    .local v6, deleteBitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 133
    invoke-virtual {v6}, Landroid/graphics/Bitmap;->recycle()V

    .line 136
    :cond_2
    iget-object v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 137
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOpacity(F)V

    .line 138
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4120

    invoke-virtual {v0, v3, v1, v1, v10}, Lcom/nemustech/tiffany/world/TFPanel;->spin(FFFZ)V

    .line 139
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4000

    invoke-virtual {v0, v1, v1, v3}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 140
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v3, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 141
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mDeleteMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v1, 0x3f80

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto/16 :goto_0

    .line 146
    .end local v6           #deleteBitmap:Landroid/graphics/Bitmap;
    :pswitch_2
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-nez v0, :cond_0

    .line 147
    iput v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanelState:I

    .line 148
    const/4 v0, 0x3

    invoke-direct {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->makeMsgBitmap(I)Landroid/graphics/Bitmap;

    move-result-object v7

    .line 149
    .local v7, leftAppBitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v7}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 150
    invoke-virtual {v7}, Landroid/graphics/Bitmap;->recycle()V

    .line 153
    :cond_3
    iget-object v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 154
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOpacity(F)V

    .line 155
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4120

    invoke-virtual {v0, v3, v1, v1, v10}, Lcom/nemustech/tiffany/world/TFPanel;->spin(FFFZ)V

    .line 156
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4000

    invoke-virtual {v0, v1, v1, v3}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 157
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v3, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 158
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mLeftAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v1, 0x3f80

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto/16 :goto_0

    .line 163
    .end local v7           #leftAppBitmap:Landroid/graphics/Bitmap;
    :pswitch_3
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-nez v0, :cond_0

    .line 164
    iput v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanelState:I

    .line 165
    const/4 v0, 0x4

    invoke-direct {p0, v0}, Lcom/nemustech/regina/PanelTrashMessage;->makeMsgBitmap(I)Landroid/graphics/Bitmap;

    move-result-object v8

    .line 166
    .local v8, rightAppBitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v8}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 167
    invoke-virtual {v8}, Landroid/graphics/Bitmap;->recycle()V

    .line 170
    :cond_4
    iget-object v3, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mContext:Landroid/content/Context;

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 171
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOpacity(F)V

    .line 172
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4120

    invoke-virtual {v0, v3, v1, v1, v10}, Lcom/nemustech/tiffany/world/TFPanel;->spin(FFFZ)V

    .line 173
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v3, 0x4000

    invoke-virtual {v0, v1, v1, v3}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 174
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move v3, v1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 175
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage;->mRightAppMsgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v1, 0x3f80

    invoke-virtual {v0, v1, v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto/16 :goto_0

    .line 110
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_0
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
